package com.ynet.middleground.approve.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liwq
 * @description 任务信息传输对象（移动端）
 * @date 2021-03-22 10:51
 */
@Data
@ApiModel(value = "任务信息传输对象（移动端）", description = "任务信息传输对象（移动端）")
public class TaskDTOForMobile extends TaskDTO {

    private static final long serialVersionUID = 2168557977695438305L;

    @ApiModelProperty(value = "流程发起渠道名称", notes = "流程发起渠道名称", dataType = "String")
    private String startChannelName;

    @ApiModelProperty(value = "流程发起时间（时间戳）", notes = "流程发起时间（时间戳）", dataType = "String")
    private String startDate;

    @ApiModelProperty(value = "是否等待指令", notes = "是否等待指令", dataType = "boolean")
    private Boolean isWait = false;

    @ApiModelProperty(value = "任务拥有者钉钉ID", notes = "任务拥有者钉钉ID", dataType = "string")
    private String dingtalkUserId;

    @ApiModelProperty(value = "待办任务总数量", notes = "待办任务总数量", dataType = "Integer")
    private Integer toDoTaskCount;
}
